package com.example.springboot.service.impl;

import com.example.springboot.entity.Child;
import com.example.springboot.service.IChildService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author danqihao
 */
public class ChildService implements IChildService {
    @Autowired
    private IChildService childService;

    @Override
    public List<Child> selectChildrenByEmployeeId(String employeeId) {
        return childService.selectChildrenByEmployeeId(employeeId);
    }

    @Override
    public void insertChild(Child child) {
        childService.insertChild(child);
    }

    @Override
    public int updateChild(Child child) {
        return 0;
    }

    @Override
    public int deleteChild(Long id) {
        return 0;
    }
}
